/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package server;

/**
 *
 * @author Anastasia
 */
import java.io.Serializable;

public class Exchanger implements Serializable {

    private int command;
    private Object obj;

    public void setCommand (int cmd)
    {
        command=cmd;
    }

    public void setObj (Object x)
    {
        obj = x;
    }

    public int getCommand ()
    {return command;
    }

    public Object getObj()

    {
        return obj;
    }
}